package com.ruiyian.bridge.project.domain.vo;

import com.ruiyian.bridge.project.domain.MeasurePoint;

import java.util.Date;

public class MeasurePointVo extends MeasurePoint {

    private static final long serialVersionUID =1L;

    /**
     * 最新值*/
    private String distance;
    /**
     *最新时间
     */
    private Date distanceTime;
    /**
     *测点类型
     */
    private String type;
    /**
     *测点状态
     */
    private String status;
    /**
     *状态显示
     */
    private String statusName;
    /**
     * yellow状态显示
     */
    private String yellowStatus;
    /**
     *设备类型名称
     */
    private String typeName;

    private String icon;

    private String sensorNo;

    @Override
    public String getSensorNo() {
        return sensorNo;
    }

    @Override
    public void setSensorNo(String sensorNo) {
        this.sensorNo = sensorNo;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public Date getDistanceTime() {
        return distanceTime;
    }

    public void setDistanceTime(Date distanceTime) {
        this.distanceTime = distanceTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getYellowStatus() {
        return yellowStatus;
    }

    public void setYellowStatus(String yellowStatus) {
        this.yellowStatus = yellowStatus;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    @Override
    public String toString() {
        return "MeasurePointVo{" +
                "distance='" + distance + '\'' +
                ", distanceTime=" + distanceTime +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                ", statusName='" + statusName + '\'' +
                ", yellowStatus='" + yellowStatus + '\'' +
                ", typeName='" + typeName + '\'' +
                ", icon='" + icon + '\'' +
                ", sensorNo='" + sensorNo + '\'' +
                '}';
    }
}
